package com.dao.wmsdao;

import java.sql.SQLException;
import java.util.List;

import com.bean.wms.PbTransfer;
import com.bean.wms.PbTransferDetail;

public interface PbTransferDao {
	
	public PbTransfer getPbTransferByKey(String wareHourse, String key);
	
	public PbTransfer getPbTransferByExternalno(String wareHourse, String externalno);
	
	public PbTransfer getPbTransferByExternalno(String wareHourse, String externalno , String fshippers , String tshippers);
	
	public List<PbTransfer> getPbTransferByStatus(String status , String susr1 , String susr3);
	
	public void insertPbTransfer(PbTransfer pbTransfer) throws SQLException ;
	
	public void updatePbTransfer(PbTransfer pbTransfer) throws SQLException ;
	
	public void insertPbTransferDetail(PbTransferDetail pbTransferDetail) throws SQLException ;
	
	public void updatePbTransferDetail(PbTransferDetail pbTransferDetail) throws SQLException ;
	
	public int insertPbTransferDetailArray(PbTransferDetail[] pbTransferDetailArray);
	
	public int updatePbTransferDetailArray(PbTransferDetail[] pbTransferDetailArray);

}
